package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Follow;
import java.util.List;

public interface FollowMapper {
    int insert(Follow record);

    int deleteByPrimaryKey(Follow follow);

    List<Follow> selectAll();

    Follow relation(Follow follow);

    Integer selectByFansId(Long fansId);

    Integer selectByFollowId(Long userId);
}